home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
2274.ZIP
/
INSTALL.FIL
< prev
next >
Wrap
Text File
|
1993-05-11
|
4KB
|
223 lines
BACKGROUND 63
TELESCOPE OFF
WINOPEN 0 2 95
"Bowen Software & The Thompson Partnership"
" Bring You "
" PopDBF Version 4.00"
" Shareware Version"
" Installation Program"
WINUPDATE +4 +8 94
TELESCOPE ON
SHADOW ON
SPACE 350
:PROMPT
DRIVE C 0 11 31 15 32 14 79
PATH \popdbf 0 11 31 15 32 14 79
EXIST ~1~2\*.*
JUMP.NO UNPACK
EXIST ~1~2\popdbf.EXE
JUMP.NO UNPACK
WINOPEN 0 11 79
"The directory ~1~2 already exists and contains files!"
""
" Installing PopDBF in this directory will"
""
" in this directory prior to installing."
""
"Are you SURE you want to install it here Y or N?"
WINUPDATE +45 +7 78
"Y or N?"
WINUPDATE +17 +4 78
"DELETE ALL THE FILES"
BEEP
ASK +52 +7
WINCLOSE
JUMP.NO PROMPT
:UNPACK
DELETE ~1~2\*.* 1 24 51
prompt on
UNPACK pop.PAK 23 10 31 32 14 79
JUMP.FAIL INSTALL_FAILURE
' ---------------------------------
' should we write batch file y / n?
' ---------------------------------
WINOPEN 0 11 31
"Most people prefer having a batch file created which makes"
"running PopDBF easier. If you answer YES to the"
"next question, we will write the file ~1\POPDBF.BAT"
"so that you can run PopDBF from the root directory"
"by entering the simple command: POPDBF."
""
"Do you want us to write this batch file for you Y or N?"
WINUPDATE +40 +3 27
"~1\POPDBF.BAT"
WINUPDATE +34 +5 27
"POPDBF"
WINUPDATE +52 +7 30
"Y or N?"
ASK +59 +7
WINCLOSE
JUMP.NO DONE2
' ----------------
' write batch file
' ----------------
EXIST ~1\POPDBF.BAT
JUMP.NO DOS_PROMPT
PROMPT OFF
DELETE ~1\popdbf.BAT 1 24 51
PROMPT ON
:DOS_PROMPT
DOS 3.3
JUMP.NO OLD_DOS
FILE ~1\POPDBF.BAT
"@~1"
"@cd ~2"
"@POPDBF"
"@cd \"
"@echo "
"@echo Thanks for Using PopDBF"
"@echo To use the program again, enter the command"
"@echo POPDBF"
"@echo from the root directory of drive ~1."
JUMP DONE
:OLD_DOS
FILE ~1\POPDBF.BAT
"echo off"
"~1"
"cd ~2"
"cls"
"POPDBF"
"cd \"
"echo "
"echo Thanks for using PopDBF"
"echo To use the program again, enter the command"
"echo POPDBF"
"echo from the root directory of drive ~1."
' -----------------------
' successfully installed!
' -----------------------
:DONE
SHADOW ON
WINOPEN 0 11 31
"PopDBF HAS BEEN SUCCESSFULLY INSTALLED."
" To run it, enter the command PopDBF"
" from the root directory of drive ~1."
""
""
""
""
"Press the [Enter] key to continue."
WINUPDATE +34 +2 30
"PopDBF"
WINUPDATE +5 +5 27
"THANK YOU FOR CHOOSING OUR SOFTWARE!"
WAIT +36 +8
WINCLOSE
JUMP RUN_IT
' -------------------------------------------------
' successfully installed (version 2, no batch file)
' -------------------------------------------------
:DONE2
SHADOW ON
WINOPEN 0 11 31
"PopDBF HAS BEEN SUCCESSFULLY INSTALLED."
" To run it, enter the command PopDBF"
" from the ~1~2 directory."
""
""
""
""
"Press the [Enter] key to continue."
WINUPDATE +33 +2 26
"PopDBF"
WINUPDATE +5 +5 27
"THANK YOU FOR CHOOSING OUR SOFTWARE!"
WAIT +36 +8
WINCLOSE
:RUN_IT
WINOPEN 0 11 31
"Would you like to run PopDBF Right Now Y or N?"
WINUPDATE +53 +1 30
"Y or N?"
ASK +50 +1
JUMP.NO EXIT
EXIST ~1\POPDBF.BAT
JUMP.NO EXE_RUN
RUN ~1\popdbf.BAT
:EXE_RUN
RUN ~1~2\popdbf.EXE
:EXIT
END
:INSTALL_FAILURE
WINOPEN 0 11 79
"THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION!"
""
"Possible reasons:"
" -- The floppy disk was damaged during shipping."
" -- Your disk drive is out of alignment."
" -- The floppy disk was removed prior to completion."
""
"Press [Enter] to remove incomplete program files."
WAIT +50 +8
PROMPT OFF
DELETE ~1~2\*.* 0 0 31
RD ~1~2
DELETE ~1\POPDBF.BAT 0 0 31
PROMPT ON
WINCLOSE
WINCLOSE
WINOPEN 0 0 31
"PARTIALLY INSTALLED FILES ARE NOW DELETED."
""
"Please try to install the software again."
""
"If you get this error message again, please contact us"
"and we will send you a new disk."
"
" The Thompson Partnership."
" Church Croft,"
" Bramshall,"
" UTTOXETER, Staffs, ST14 5DE"
" 0889 564601"
""
"Press [Enter] to Quit."
WAIT +14 +24
END